<?php
 ob_start();
 session_start();
 
 include("dbconnect.php");
 
 ob_end_flush();
 ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Oraculus</title>
<link media="screen, projection" type="text/css" href="Estilos_css.css" rel="stylesheet">
<link type="image/x-icon" href="images/favicon.ico" rel="shortcut icon">
<script language="JavaScript" src="oracle_scripts.js" type="text/javascript"></script>

</head>
<body onload="CambiaClass(4);">
<div class="marco">
<div class="index_main">
<?php
 $TEMA="gn_plsql";
  include("header.php"); 

/***********************************************/
/*CONTENIDO*/
/***********************************************/
 echo" <div class=\"index_main_1\">";
 
 include("menu.php");
 
 if(!isset($_GET['ent']))
 {
 	if(isset($_GET['tag'])){
		$categoria='plsql';
		$id_tag=$_GET['tag'];
		include("tag.php");
	}
	else{
		$ent=0;
		if(!isset($_GET['cat']))
		{
			$sql="SELECT MIN(A.ID_SUBCATEGORIA) FROM SUBCATEGORIAS A, CATEGORIAS B
				WHERE A.ID_CATEGORIA=B.ID_CATEGORIA AND B.CATEGORIA='PLSQL'";
			$result=mysql_query($sql);
			list($subcat)=mysql_fetch_row($result);
		}
		else
		{
			$subcat=$_GET['cat'];
		}
		include("plsql_main.php");
	}
 }
 else
 {
	$categoria='PLSQL';
 	$ent=$_GET['ent'];
	include("entrada.php");
 } 
 
echo"</div>";

?>
</div>
<?php
include("footer.php");
?>
</div>

</body>
</html>
